@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Next:ital,wght@0,200..800;1,200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  --p-font: "Atkinson Hyperlegible Next", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans",
    Geneva, Verdana, sans-serif;
  --h-font: "Montserrat", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans",
    Geneva, Verdana, sans-serif;
  --header-font-weight: 400;

  --primary: #5e411f;
  --primaryRGB: 94, 65, 31;

  --secondary: #8d7f4e;
  --secondaryRGB: 141, 127, 78;

  /* nav settings */
  --nav-top-bg: rgb(255, 255, 255, 0);
  --nav-scrolled-bg: var(--primary);
  --nav-height: 6rem;
  --logo-size-lg: 50px;
  --logo-size-mbl: 50px;
  /* --logo-top-wht: brightness(0) invert(1); */
  --logo-top-op: 1;
  /* top */
  --nav-link-top-clr: #fff;
  --nav-link-top-hvr-clr: var(--secondary);
  --nav-link-top-border: #fff;
  --nav-icon-top-clr: #fff;
  --nav-icon-top-hvr-clr: var(--secondary);
  /* scrolled & pages */
  --nav-link-scrolled-clr: #fff;
  --nav-link-scrolled-hvr-clr: var(--secondary);
  --nav-link-scrolled-border: var(--secondary);
  --nav-icon-scrolled-clr: #fff;
  --nav-icon-scrolled-hvr-clr: var(--secondary);
  /* mobile menu */
  --menu-link-clr: #fff;
  --menu-link-border: var(--secondary);
  --menu-footer-bg: var(--primary);
  --menu-social-clr: #fff;
  --menu-social-hvr-clr: var(--secondary);
  /* anna modern reset */
  --palette-navigationBackground-color: var(--nav-scrolled-bg);

  /* hero */
  --hero-height-fb: 100vh;
  --hero-height: 100dvh;
  --hero-overlay: linear-gradient(45deg,
      rgb(0, 0, 0, 0.1),
      rgb(0, 0, 0, 0.35) 30% 70%,
      rgb(0, 0, 0, 0.23));
  --hero-content-width: 1024px;
  /* title main */
  --hero-title-size-lg: 65px;
  --hero-title-size-mbl: 40px;
  --hero-title-weight: 600;
  --hero-title-spacing: ;
  --hero-title-case: uppercase;
  --hero-title-clr: #fff;
  /* title sub */
  --hero-sub-size-lg: .3em;
  --hero-sub-size-mbl: 0.5em;
  --hero-sub-weight: 400;
  --hero-sub-spacing: 3px;
  --hero-sub-font: var(--p-font);
  --hero-sub-case: uppercase;
  /* tabs */
  --number-of-tabs: 3;
  --hero-tab-padding: 1em 3em;
  --hero-tab-txt-size: 0.9em;
  --hero-tab-txt-spacing: 1px;
  --hero-tab-weight: normal;
  --hero-tab-case: uppercase;
  /* --hero-tab-border: 1px solid var(--primary); */
  --hero-tab-txt-clr: #fff;
  --hero-tab-bg-clr: var(--primary);
  --hero-tab-hvr-txt-clr: #fff;
  --hero-tab-hvr-bg-clr: var(--secondary);
  /* --hero-tab-hvr-border-clr: var(--secondary); */
}


/* reg home fix */
#anna-modern-fold {
  margin-top: var(--nav-height);
}

/* live hide */
.home #anna-modern-fold,
.home #widget-ctas {
  display: none;
}

.home section[data-cy="footer-valuation"] {
  display: none;
}

/* anna hide */
.home #search-tabs,
.home>section[aria-label="property search hero"] {
  display: none;
}

/* Page Resets */
.home #content {
  width: 100%;
  padding: 0;
}

.home .section-width-wrapper {
  padding: 0 !important;
  max-width: 100% !important;
}

.home #sidebar {
  display: none;
}

.home>div.lg\:px-40 {
  padding: 0 !important;
}

.home #content>section {
  margin: 0 !important;
}

.home header {
  position: fixed;
}

/* modern fixes */

#rg-valuation-iframe-0 {
  min-height: 25rem !important;
}

.property-detail-listing-vertical:hover {
  outline: none !important;
}

/*  */

/* Fonts */
body *:is(p, li, a, label, legend, button, option, summary) {
  font-family: var(--p-font) !important;
}

body *:is(h1, h2, h3, h4, h5, h6, .text-hero) {
  font-family: var(--h-font) !important;
}

body h1,
body.home h2,
body .text-hero {
  font-weight: var(--header-font-weight);
}

/* navigation */

.home header.custom-scroll,
.pages header,
nav.top-nav {
  box-shadow: 0 1px 8px rgb(0, 0, 0, 0.15);
  border-bottom: none;
}

body>header>nav.relative>div.mx-0.pr-2.pl-6.lg:px-8>div {
  height: var(--nav-height);
}

body header #nav-logo {
  height: var(--logo-size-mbl);
}

@media (min-width: 768px) {
  body header #nav-logo {
    height: var(--logo-size-lg);
  }
}

body.home header:not(.custom-scroll) #nav-logo img {
  filter: var(--logo-top-wht);
  opacity: var(--logo-top-op);
  transition: 300ms ease;
}

body.home header>nav>div:first-child {
  transition: 300ms ease;
}

body.home header:not(.custom-scroll)>nav:not(#mobile-menu)>div:first-child {
  opacity: 1;
  background-color: var(--nav-top-bg);
}

.bg-palette-navigationBackground-color.bg-palette-navigationBackground-color {
  --palette-navigationBackground-color: var(--nav-scrolled-bg) !important;
}

body.home header {
  background: transparent;
}

/* links */

#nav-links>div {
  justify-content: flex-end;
  align-items: center;
}

/* fix ugly border */

header #nav-links a {
  border: none;
  padding-bottom: 0.5rem;
  font-size: 0.9em;
  font-weight: bold;
}

header #nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  /* transform: translateX(-50%); */
  width: 0%;
  height: 2px;
  background: var(--nav-link-scrolled-hvr-clr);
  transition: 300ms ease;
}


header #nav-links a:hover::after {
  width: 100%;
}


/* custom banner nav links */
body.home header:not(.custom-scroll) #nav-links a {
  color: var(--nav-link-top-clr);
}

body.home header:not(.custom-scroll) #nav-links a:hover {
  color: var(--nav-link-top-hvr-clr);
}

body.home header:not(.custom-scroll) #nav-links a:hover::after {
  background: var(--nav-link-top-border);
}

/* scrolled and pages nav links */
body.home header.custom-scroll #nav-links a,
body.pages header #nav-links a {
  color: var(--nav-link-scrolled-clr);
}

body.home header.custom-scroll #nav-links a:hover,
body.pages header #nav-links a:hover {
  color: var(--nav-link-scrolled-hvr-clr);
}

body.home header.custom-scroll #nav-links a:hover::after,
body.pages header #nav-links a:hover::after {
  background: var(--nav-link-scrolled-border);
}


nav.top-nav a:hover {
  color: var(--nav-link-scrolled-hvr-clr);
}

/* icons */
#nav-icons svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: 300ms ease;
}

body.home header #nav-icons svg {
  fill: var(--nav-icon-top-clr);
  color: var(--nav-icon-top-clr);
}

body.home header.custom-scroll #nav-icons svg,
body.pages header #nav-icons svg {
  fill: var(--nav-icon-scrolled-clr);
  color: var(--nav-icon-scrolled-clr);
}

/* miranda */
.user-contact-icons ul li a svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--nav-icon-scrolled-clr);
}

.user-contact-icons ul li a:hover,
.user-contact-icons ul li a:hover svg {
  color: var(--nav-icon-scrolled-hvr-clr);
  fill: var(--nav-icon-scrolled-hvr-clr);
}

#nav-menu-button svg path {
  transition: d 300ms ease;
}

#nav-menu-button svg:hover path {
  d: path("M 4 8 h 16 M 4 12 h 16 M 4 16 h 16");
}

/* miranda fixes */
@media (min-width: 451px) {
  .user-contact-icons ul {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
}

.user-contact-icons .svg-inline--fa:not(.fa-bars) {
  display: none;
}

.user-contact-icons ul li a {
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transition: 300ms ease;
}

.user-contact-icons ul li a:hover svg {
  transition: 300ms ease;
}

nav.top-nav a {
  transition: 300ms ease;
}


/* mobile menu */
body #mobile-menu>div>div.pl-12.pr-32.pt-16.pb-8.flex.flex-col.h-mobile-nav-inner.sm:h-screen.overflow-y-auto {
  background-color: var(--palette-navigationBackground-color) !important;
  height: calc(100vh - 115px);
}

#mobile-menu .text-palette-navigationLink-color {
  color: var(--menu-link-clr) !important;
  transition: 300ms ease;
  border-bottom: none;
  padding-bottom: 0.25rem;
  position: relative;
}

#mobile-menu .text-palette-navigationLink-color:not(.flex):after {
  content: "";
  display: block;
  width: 1rem;
  height: 2px;
  background-color: var(--menu-link-border);
  transition: 300ms ease;
}

#mobile-menu .text-palette-navigationLink-color:not(.flex):hover:after {
  width: 100%;
}

#mobile-menu>div>div.pl-12.pr-32.pt-16.pb-8.flex.flex-col.h-mobile-nav-inner.sm:h-screen.overflow-y-auto>div.sm:hidden.pt-9.border-t.border-medium-gray,
#mobile-menu>div>div.sm:hidden.p-4.absolute.bottom-0.p-11.text-white.bg-dark-gray.w-full {
  display: block;
}

#mobile-menu .bg-dark-gray {
  background-color: var(--menu-footer-bg);
}

/* nav social */

#navSocialMedia {
  gap: 1rem;
  margin-top: 0 !important;
}

#navSocialMedia a.social-icon-footer {
  line-height: 1;
  color: var(--menu-social-clr);
  font-size: 0.75em;
  display: block;
  transition: 300ms ease;
}

#navSocialMedia a.social-icon-footer:hover {
  color: var(--secondary);
}

/* Hero */

#custom-hero {
  min-height: var(--hero-height-fb);
  min-height: var(--hero-height);
  position: relative;
  display: grid;
  background-position: center;
  background-size: cover;
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.--yt-banner {
  overflow: hidden;
}

#hero-yt {
  position: absolute;
  top: -60px;
  left: 50%;
  width: max(1920px, 100%);
  height: calc(100% + 60px);
  object-fit: cover;
  overflow: hidden;
  display: flex;
  justify-content: center;
  transform: translateX(-50%);

  .custom__video-background {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    width: 100%;

    iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  }
}

.custom__video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#custom-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-image: var(--hero-overlay);
}

#custom-hero .custom-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 3;
  padding-inline: 1rem;
  width: min(var(--hero-content-width), 100%);
  left: 50%;
  transform: translateX(-50%);
}

#custom-hero img.banner_logo {
  padding: 1rem;
}

#custom-hero h1 {

  text-align: center;
  letter-spacing: var(--hero-title-spacing);
  margin: 0;
  padding: 0;
  border: none;
  text-shadow: 1px 1px 0.25rem rgb(0, 0, 0, 0.35);
  font-size: var(--hero-title-size-mbl);
  font-weight: var(--hero-title-weight);
  color: var(--hero-title-clr);
  text-transform: var(--hero-title-case);
  line-height: 1;
  text-wrap: balance;

  @media (min-width: 768px) {
    font-size: var(--hero-title-size-lg);
    text-wrap: wrap;


  }

  span.--sub {
    display: block;
    font-size: var(--hero-sub-size-mbl);
    margin-top: .5rem;
    font-weight: var(--hero-sub-weight);
    font-family: var(--hero-sub-font);
    text-wrap: balance;
    letter-spacing: var(--hero-sub-spacing);
    text-transform: var(--hero-sub-case);

    @media (width>768px) {
      font-size: var(--hero-sub-size-lg);
    }
  }
}

#custom-hero h2 {
  text-align: center;
  color: #fff;
  line-height: 1;
  margin: 0;
  padding: 0;
  margin-top: 1em;
}

#custom-hero #custom-search-tabs {
  display: grid;
  margin-top: 1rem;
  gap: 1rem;
  position: relative;
  z-index: 3;
  width: 100%;

  @media (min-width: 768px) {
    grid-template-columns: repeat(var(--number-of-tabs), 1fr);
  }

  a {
    display: inline-block;
    line-height: 1;
    /* text-transform: uppercase; */
    letter-spacing: var(--hero-tab-txt-spacing);
    color: var(--hero-tab-txt-clr);
    transition: 300ms ease;
    padding: var(--hero-tab-padding);
    background-color: var(--hero-tab-bg-clr);
    text-align: center;
    font-size: var(--hero-tab-txt-size);
    font-weight: var(--hero-tab-weight);
    text-transform: var(--hero-tab-case);
    border: var(--hero-tab-border);

    &:hover {
      color: var(--hero-tab-hvr-txt-clr);
      background-color: var(--hero-tab-hvr-bg-clr);
      border-color: var(--hero-tab-hvr-border-clr);
    }
  }
}

.home #custom-hero #react-typeahead {
  width: 100%;
  /* margin-top: 1rem; */
  max-width: 100%;
}


/* page updates */

.text-hero {
  text-shadow: 1px 1px 0.25rem rgb(0, 0, 0, 0.5);
}

.h-hero-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.2);
  z-index: 2;
}

.h-hero-image>div:nth-child(2) {
  position: relative;
  z-index: 3;
}


/* map */
.mapsearch .search-results,
.mapsearch .viewport {
  width: 100%;
  max-width: 100%;
}